local hx__zhenqiao = fk.CreateSkill{
  name = "hx__zhenqiao",
  tags = { Skill.Compulsory },
}

hx__zhenqiao:addEffect(fk.TargetSpecified, {
  anim_type = "offensive",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(hx__zhenqiao.name) and
      data.card.trueName == "slash" and data.firstTarget and
      #player:getEquipments(Card.SubtypeWeapon) == 0
  end,
  on_use = function(self, event, target, player, data)
    data.use.additionalEffect = (data.use.additionalEffect or 0) + 1
  end,
})

hx__zhenqiao:addEffect("atkrange", {
  correct_func = function (self, from, to)
    if from:hasSkill(hx__zhenqiao.name) then
      return 1
    end
    return 0
  end,
})

return hx__zhenqiao
